package com.zgw.his.design.parser;

import java.util.List;

import org.eclipse.wb.internal.core.xml.editor.AbstractXmlEditor;
import org.eclipse.wb.internal.core.xml.editor.IXmlEditorPage;
import org.eclipse.wb.internal.core.xml.editor.IXmlEditorPageFactory;

import com.zgw.his.design.editor.MedicalPropertyPage;

/**
 * 模板设计 附加页工厂
 * */
public class MedicalDesignPageFactory implements IXmlEditorPageFactory {

	public void createPages(AbstractXmlEditor editor, List<IXmlEditorPage> pages) {
		for (IXmlEditorPage page : pages) {
			if (page instanceof MedicalPropertyPage) {
				return;
			}
		}
		pages.add(new MedicalPropertyPage());
	}
}
